package ooday02.homework.person_TestTwo;

public class Test {
    public static void main(String[] args) {
        Student lisi = new Student("李四", 25, "山东", "JSD001", "001");
        lisi.eat();
        lisi.sleep();
        lisi.sayHi();
        lisi.study();

        Teacher wanWu = new Teacher("王五",26,"山西",6500.00);
        wanWu.eat();
        wanWu.sleep();
        wanWu.sayHi();
        wanWu.teach();

        Doctor liMing = new Doctor("李明",24,"陕西","主任医师");
        liMing.eat();
        liMing.sleep();
        liMing.sayHi();
        liMing.cut();
    }
}
